﻿using Domain.Permissions.ValueObjects;

namespace Domain.Permissions
{
    public static class PermissionDefinitions
    {

        public static IEnumerable<Permission> User()
        {
            yield return Permission.Create("创建用户", "usermanagement:user:create");
            yield return Permission.Create("删除用户", "usermanagement:user:delete");
            yield return Permission.Create("更改用户密码", "usermanagement:user:updatepassword");
            yield return Permission.Create("更改用户信息", "usermanagement:user:update");
            yield return Permission.Create("封禁用户", "usermanagement:user:ban");
        }
    }
}
